<template>
	<el-form :model="students" style="width:100%;">
		<el-row>
			<el-col :span="6">
				<el-form-item label="学号:" >
					<el-input v-model="students.studentNo"></el-input>
				</el-form-item>
			</el-col>
			<el-col :span="7" :offset="1">
				<el-form-item label="班级:" >
					<el-input v-model="students.className"></el-input>
				</el-form-item>
			</el-col>
			<el-col :span="5" :offset="1">
				<el-form-item label="姓名:" >
					<el-input v-model="students.studentName"></el-input>
				</el-form-item>
			</el-col>
			<slot></slot>
		</el-row>
	</el-form>
</template>

<script>
	export default {
		props: {
			students: {
				studentNo: "",
				className: "",
				studentName: ""
			}
		}
	}
</script>

<style scoped>

</style>